1. overview... 21.1. main content of the document... 21.2. target... 22. PHP file format requirements... 22.1. general requirements... 22.2. shrink... 22.3. maximum number of characters in a row... 22.4. line Terminator... 33. naming rules... 33.1.
[Excerpt from Zend Framework Official document] C.2. PHP file formatc.2.1. GeneralFor files that contain only PHP code, the end sign ("?>") is not allowed, and PHP itself does not need ("?>") to prevent its end from being accidentally injected
Php Cainiao standard 1. will not use tools such as phpDoc to properly comment your code? 2. do you turn a blind eye to excellent integrated development environments such as ZendStudio or EclipsePDT? 3. I have never used any form of version control
Php Cainiao standard 1. will not use tools such as phpDoc to properly comment your code? 2. do you turn a blind eye to excellent integrated development environments such as ZendStudio or EclipsePDT? 3. I have never used any form of version control
Note: This is the code specification from the PHPCMS development document, although the development specification is called PHPCMS, but I think all PHP programming should be so. Write so much php, a lot of coding compared to this specification is a
Php Cainiao standard 1. will not use tools such as phpDoc to properly comment your code? 2. do you turn a blind eye to excellent integrated development environments such as ZendStudio or EclipsePDT? 3. I have never used any form of version control
PHP coding standards are becoming more and more important in the compilation process of PHP. today, I saw articles written by my predecessors on the Internet. Original article address: Coding Specification for PHP development
In the compilation
Over the years, I have been engaged in PHP and C-related development in Linux and have brought many projects and teams. The following PHP coding specifications based on my experience can be used as examples and references for everyone, select and
PHP Advanced Programming Learning Note 20140612An important part of software development is document writing. He can help future program maintainers and users understand your ideas in development. It also makes it easy to re-view your code later.
Note: This shows the encoding specification from the phpcms development documentation. Although it is called the phpcms development specification, I think this is the case for all PHP programming. After writing so many PHP codes, many codes may not
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.